package com.schoolCommunity.mapper;

import com.schoolCommunity.entity.Member;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.Set;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author YTH
 * @since 2020-09-09
 */
public interface MemberMapper extends BaseMapper<Member> {

    //获取所有用户邮箱，避免重复
    @Select("select id from member")
    public Set<Long> getAllMemberIdForSet();

}
